<template>
  <pdf
    ref="pdf"
    :src="url"
  />
</template>
<script>
import pdf from 'vue-pdf'
export default {
  components: {
    pdf
  },
  data () {
    return {
      url: 'https://xnjdhr.wm71.mttest.cn/file/20220711/3b8939383882106d9fe723b1226c8a16.pdf'
    }
  },
  created () {
    // var loadingTask = pdf.createLoadingTask(this.url, { withCredentials: false })
  }
}
</script>
